import request from '@/utils/request'

// 查询瞬时回灌量列表
export function listInstant_reflow(query) {
  return request({
    url: '/dr/instant_reflow/list',
    method: 'get',
    params: query
  })
}

// 查询瞬时回灌量详细
export function getInstant_reflow(id) {
  return request({
    url: '/dr/instant_reflow/' + id,
    method: 'get'
  })
}

// 新增瞬时回灌量
export function addInstant_reflow(data) {
  return request({
    url: '/dr/instant_reflow',
    method: 'post',
    data: data
  })
}

// 修改瞬时回灌量
export function updateInstant_reflow(data) {
  return request({
    url: '/dr/instant_reflow',
    method: 'put',
    data: data
  })
}

// 删除瞬时回灌量
export function delInstant_reflow(id) {
  return request({
    url: '/dr/instant_reflow/' + id,
    method: 'delete'
  })
}
